<template>
  <scroll-view scroll-y class="content">
    <view class="detail">{{ data.remark }}</view>
  </scroll-view>
</template>

<script>
import setting from "@/apis/cloud/setting.js";

export default {
  data() {
    return {
      data: [],
      id: '',
    };
  },
  onLoad(options) {
    this.id = options.id;
    this.getList();
  },
  methods: {
    async getList() {
      const res = await setting.versionDetail({
        id: this.id
      });
      if (res.status == 1) {
        this.data = res.data
      }
    }
  },
};
</script>

<style lang="scss">
.content {
  height: calc(100vh - 88rpx - var(--status-bar-height));
}
.detail {
  padding: 30rpx;
}
</style>